/*
 * Copyright (c) 2018-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

namespace TencentCloud.Cwp.V20180228.Models
{
    using Newtonsoft.Json;
    using System.Collections.Generic;
    using TencentCloud.Common;

    public class MalwareWhiteListInfo : AbstractModel
    {
        
        /// <summary>
        /// 唯一ID。
        /// </summary>
        [JsonProperty("Id")]
        public ulong? Id{ get; set; }

        /// <summary>
        /// cvm quuid 按,分割。
        /// </summary>
        [JsonProperty("QuuidList")]
        public string QuuidList{ get; set; }

        /// <summary>
        /// md5列表 按,分割
        /// </summary>
        [JsonProperty("Md5List")]
        public string Md5List{ get; set; }

        /// <summary>
        /// 是否全部主机； 0否，1是
        /// </summary>
        [JsonProperty("IsGlobal")]
        public ulong? IsGlobal{ get; set; }

        /// <summary>
        /// 白名单模式；0 MD5 ，1自定义
        /// </summary>
        [JsonProperty("Mode")]
        public ulong? Mode{ get; set; }

        /// <summary>
        /// 匹配模式；0精确匹配，1模糊匹配
        /// </summary>
        [JsonProperty("MatchType")]
        public ulong? MatchType{ get; set; }

        /// <summary>
        /// 文件名；按,分割
        /// </summary>
        [JsonProperty("FileName")]
        public string FileName{ get; set; }

        /// <summary>
        /// 文件目录；按,分割
        /// </summary>
        [JsonProperty("FileDirectory")]
        public string FileDirectory{ get; set; }

        /// <summary>
        /// 文件后缀；按,分割
        /// </summary>
        [JsonProperty("FileExtension")]
        public string FileExtension{ get; set; }

        /// <summary>
        /// 规则创建时间
        /// </summary>
        [JsonProperty("CreateTime")]
        public string CreateTime{ get; set; }

        /// <summary>
        /// 受影响记录
        /// </summary>
        [JsonProperty("EventsCount")]
        public ulong? EventsCount{ get; set; }

        /// <summary>
        /// 规则修改时间
        /// </summary>
        [JsonProperty("ModifyTime")]
        public string ModifyTime{ get; set; }


        /// <summary>
        /// For internal usage only. DO NOT USE IT.
        /// </summary>
        public override void ToMap(Dictionary<string, string> map, string prefix)
        {
            this.SetParamSimple(map, prefix + "Id", this.Id);
            this.SetParamSimple(map, prefix + "QuuidList", this.QuuidList);
            this.SetParamSimple(map, prefix + "Md5List", this.Md5List);
            this.SetParamSimple(map, prefix + "IsGlobal", this.IsGlobal);
            this.SetParamSimple(map, prefix + "Mode", this.Mode);
            this.SetParamSimple(map, prefix + "MatchType", this.MatchType);
            this.SetParamSimple(map, prefix + "FileName", this.FileName);
            this.SetParamSimple(map, prefix + "FileDirectory", this.FileDirectory);
            this.SetParamSimple(map, prefix + "FileExtension", this.FileExtension);
            this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
            this.SetParamSimple(map, prefix + "EventsCount", this.EventsCount);
            this.SetParamSimple(map, prefix + "ModifyTime", this.ModifyTime);
        }
    }
}

